

function Getdata(){
	$.ajax({
		type:'post',
		dataType:'json',
		url:pSrc,
		data:{
			id:pid
		},
		success:function(data){
			
			
			
		}
	})
}




layui.use('layer', function() {
	var $ = layui.jquery,layer = layui.layer;
    
    
    

})


$(function(){
	
	$.ajax({
		type:"get",
		url:levelApi,
		async: false,
		success:function(data){
			var code=data.code;
			if(code==1){
				var csHtml=''
				$.each(data.data,function(index,value){
					csHtml+='<div class="layui-level-list" data-id="'+value.id+'"><blockquote class="layui-elem-quote" style="padding: 10px 15px; border-left: none;">'+value.level_name+'<a href="javascript:void(0);" onclick="addple($(this))" class="layui-btn layui-btn-sm layui-btn-normal layui-btn-ff" style="margin-left: 20px;"><i class="layui-icon"></i>增加货币配置</a></blockquote><div id="inviterConfig"><form id="inviterForm"></form></div></div>';
				});
				$("#level-list").html(csHtml);
			}
		}
	});
	
	Getdata();
})
